//
//  HttpRequest.h
//  FuZhu
//
//  Created by app on 2017/9/14.
//  Copyright © 2017年 王文. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^SuccessBlock)(id responseObject);
typedef void(^FailedBlock)(NSError *error);

@interface HttpRequest : NSObject
+(void)getInfo:(NSString *)info successBlock:(SuccessBlock)success failedBlock:(FailedBlock)fail;
+(void)PostInfo:(NSDictionary *)info successBlock:(SuccessBlock)success failedBlock:(FailedBlock)fail;
+(void)uploadImage:(UIImage *)image paras:(NSDictionary *)paras successBlock:(SuccessBlock)success failedBlock:(FailedBlock)fail;
+(void)uploadImages:(NSArray *)imageArr paras:(NSDictionary *)paras successBlock:(SuccessBlock)success failedBlock:(FailedBlock)fail;
@end
